package com.youchu.pattern.design.behavioral.chain.handler;

import com.youchu.pattern.design.behavioral.chain.entity.User;

/**
 * 定义抽象处理器
 */
public abstract class AbstractRegisterHandler {
    protected AbstractRegisterHandler next;



    public void setNext(AbstractRegisterHandler next) {
        this.next = next;
    }

    public abstract void handleRequest(User user);
}